package cn.sfrog.project.biz.admin.domain.vo;

import cn.sfrog.common.annotation.Excel;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


@Data
@ApiModel(description = "学研订单")
public class BizStudyOrderVO {

    @ApiModelProperty("id")
    @Excel(name = "id")
    private Long id;

    @ApiModelProperty("学研订单编号")
    @Excel(name = "学研订单编号")
    private String studyOrderSn;

    @ApiModelProperty("项目id")
    @Excel(name = "项目id")
    private Long projectId;

    @ApiModelProperty("医院id")
    @Excel(name = "医院id")
    private Long hospitalId;

    @ApiModelProperty("订单数量")
    @Excel(name = "订单数量")
    private Integer num;

    @ApiModelProperty("订单金额")
    @Excel(name = "订单金额")
    private BigDecimal amount;

    @ApiModelProperty("下单人id")
    @Excel(name = "下单人id")
    private Long userId;

    @ApiModelProperty("学研项目")
    @Excel(name = "学研项目")
    private String projectName;

    @ApiModelProperty("医院名称")
    @Excel(name = "医院名称")
    private String hospitalName;

    @ApiModelProperty("用户名称")
    @Excel(name = "用户名称")
    private String nickName;

    @ApiModelProperty("手机号")
    @Excel(name = "手机号")
    private String phonenumber;

    @ApiModelProperty("创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


    @ApiModelProperty("备注")
    @Excel(name = "备注")
    private String remark;

}
